﻿using System.Windows.Forms;

namespace CloudShot.Utils
{
  public static class ControlExtensions
  {
    public static ToolStripControlHost AsToolStripControlHost(this Control control)
    {
      return new ToolStripControlHost(control)
      {
        Margin = Padding.Empty,
        Padding = Padding.Empty
      };
    }
  }
}